#pragma once
#include "types.h"

namespace UOS{
	enum service_code : word {
		osctl			= 0x0000,
		os_info			= 0x0008,
		get_time		= 0x000C,
		enum_process	= 0x0010,
		display_fill	= 0x0020,
		display_draw	= 0x0028,
		get_thread		= 0x0100,
		thread_id		= 0x0104,
		get_handler		= 0x0108,
		get_priority	= 0x010C,
		exit_thread		= 0x0110,
		kill_thread		= 0x0114,
		set_handler		= 0x0118,
		set_priority	= 0x011C,
		create_thread	= 0x0120,
		sleep			= 0x0130,
		wait_for		= 0x0134,
		signal			= 0x0138,
		get_process		= 0x0200,
		process_id		= 0x0204,
		process_info	= 0x0208,
		get_command		= 0x020C,
		exit_process	= 0x0210,
		kill_process	= 0x0214,
		process_result	= 0x0218,
		create_process	= 0x0220,
		open_process	= 0x0224,
		get_work_dir	= 0x0228,
		set_work_dir	= 0x022C,
		handle_type		= 0x0300,
		open_handle		= 0x0304,
		close_handle	= 0x0308,
		create_object	= 0x030C,
		vm_peek			= 0x0400,
		vm_protect		= 0x0408,
		vm_reserve		= 0x0410,
		vm_commit		= 0x0414,
		vm_release		= 0x041C,
		stream_state	= 0x0500,
		stream_read		= 0x0508,
		stream_write	= 0x050C,
		file_open		= 0x0600,
		file_tell		= 0x0604,
		file_seek		= 0x0608,
		file_setsize	= 0x060C,
		file_path		= 0x0610,
		file_info		= 0x0614,
		file_change		= 0x0618,
		file_move		= 0x061C,
	};
}